public class Test {
    public static void main(String[] args) {
        OuterClass out = new OuterClass();
        OuterClass.InnerClass inner = out.new InnerClass();

        out.test();
        inner.test();

        OuterClass1 out_static = new OuterClass1();
        OuterClass1.InnerClass inner_static = new OuterClass1.InnerClass();
        out_static.test();
        inner_static.test();
    }
}
